package com.partvoyage.shared;

import java.io.Serializable;
import java.util.Date;

public class InfoPointBean implements Serializable {
	public enum TYPE_ZOOM_LEVEL {
		PAYS_LEVEL, ADRESSE_LEVEL, VILLE_LEVEL
	}

	private static final long serialVersionUID = 3841023069958441871L;
	private Long markerId;
	private Double latitude;
	private Double longitude;
	private String comment;
	private String commentaire;
	private String cout;
	private String avecQui;
	private String ou;
	private String codePays;
	private Date quand;
	private Long projetId;
	private Integer zoomLevel;
	private Long markerIdDestination;

	public InfoPointBean(Long markerId, Double latitude, Double longitude,
			String comment, String commentaire, String cout, String avecQui,
			String ou, String codePays, Long projetId, Date quand,
			Integer zoomLevel, Long markerIdDestination) {
		super();
		this.markerId = markerId;
		this.latitude = latitude;
		this.longitude = longitude;
		this.comment = comment;
		this.commentaire = commentaire;
		this.cout = cout;
		this.avecQui = avecQui;
		this.ou = ou;
		this.projetId = projetId;
		this.quand = quand;
		this.zoomLevel = zoomLevel;
		this.markerIdDestination = markerIdDestination;
	}

	public InfoPointBean() {
		// TODO Auto-generated constructor stub
	}

	public Long getMarkerId() {
		return markerId;
	}

	public void setMarkerId(Long markerId) {
		this.markerId = markerId;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getCout() {
		return cout;
	}

	public void setCout(String cout) {
		this.cout = cout;
	}

	public String getAvecQui() {
		return avecQui;
	}

	public void setAvecQui(String avecQui) {
		this.avecQui = avecQui;
	}

	public Long getProjetId() {
		return projetId;
	}

	public void setProjetId(Long projetId) {
		this.projetId = projetId;
	}

	public String getOu() {
		return ou;
	}

	public void setOu(String ou) {
		this.ou = ou;
	}

	public String getCommentaire() {
		return commentaire;
	}

	public void setCommentaire(String commentaire) {
		this.commentaire = commentaire;
	}

	public Date getQuand() {
		return quand;
	}

	public void setQuand(Date quand) {
		this.quand = quand;
	}

	public Integer getZoomLevel() {
		return zoomLevel;
	}

	public void setZoomLevel(Integer zoomLevel) {
		this.zoomLevel = zoomLevel;
	}

	public String getCodePays() {
		return codePays;
	}

	public void setCodePays(String codePays) {
		this.codePays = codePays;
	}

	public Long getMarkerIdDestination() {
		return markerIdDestination;
	}

	public void setMarkerIdDesination(Long markerIdDestination) {
		this.markerIdDestination = markerIdDestination;
	}

	@Override
	public String toString() {
		return "Point id " + markerId + " [" + latitude + "/" + longitude + "]"
				+ ", ou" + StringHelper.getToStringPourLog(ou) + ", code pays"
				+ StringHelper.getToStringPourLog(codePays) + ", comment "
				+ StringHelper.getToStringPourLog(comment) + ", commentaire "
				+ StringHelper.getToStringPourLog(commentaire) + ", cout "
				+ StringHelper.getToStringPourLog(cout) + ", zoom "
				+ StringHelper.getToStringPourLog(zoomLevel) + ", quand "
				+ (quand == null ? "null" : quand) + ", avec qui "
				+ StringHelper.getToStringPourLog(avecQui) + ", du projet id "
				+ StringHelper.getToStringPourLog(projetId) + ", destination "
				+ StringHelper.getToStringPourLog(markerIdDestination);
	}
}
